package books.EffectiveJava;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description
 * @Author bloodcolding
 * @Date 2021/04/21 7:01 AM
 */
public class Line26 {
    public static void main(String[] args) {
        List<String> list = new ArrayList<>();
        unsafeAdd(list, "1");
        String i = list.get(0);
    }

    private static void unsafeAdd(List list, Object o) {
        list.add(o);
    }
}
